from public.action import *
from public.business import *
from public.testData import *
from public.tools import *
testCase = "DBshop031_新增特定商品标签"
firefox=openBrowser(urlAdmin)
DBshopLoginAdmin(firefox) #调用函数登录dbshop的后台
DBshopEnterMenu3(firefox,'商品管理','商品标签','特定商品标签')
# 1.点击“添加特定商品标签”
firefox.find_element_by_link_text('添加特定商品标签').click()
firefox.find_element_by_id('tag_type').click()
firefox.find_element_by_xpath('//option[text()="手机端首页商品"]').click()
firefox.find_element_by_id('tag_name').send_keys('1F商品')